<ui:composition xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:ui="http://java.sun.com/jsf/facelets" 
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:app="http://springfuse.jaxio.com/app"
	xmlns:appcc="http://java.sun.com/jsf/composite/components">
	<app:outputLabel for="#{id}" value="#{label}" required="#{required}" rendered="#{rendered}" />
	<h:panelGroup rendered="#{(empty readonly or not readonly) and (empty rendered or rendered)}">
		<h:selectBooleanCheckbox id="#{id}" label="#{resourcesUtil.getProperty(label)}" value="#{value}">
			<f:validateBean binding="#{lenientBeanValidator}"/>
			<ui:insert/>
		</h:selectBooleanCheckbox>
		<p:tooltip for="#{id}" value="#{tooltip}" showEffect="slide" rendered="#{not empty tooltip}"/>
	</h:panelGroup>
	<h:outputText value="#{value}" rendered="#{readonly and (empty rendered or rendered)}" />
</ui:composition>
